//------------------------------------------------------------------------------
// <copyright file="NumericValidation.cs" company="Damian Antonowicz">
//       copyright © 2010 Damian Antonowicz
// </copyright>
// <author>Damian Antonowicz</author>
// <email>poczta@damianantonowicz.pl</email>
//------------------------------------------------------------------------------

using System;

namespace DotBeer.UI.WPFClient
{
    public static class NumericValidation
    {
        public static bool IsNumeric(string s)
        {
            foreach (char c in s)
                if (!Char.IsNumber(c)) return false;

            return true;
        }
    }
}
